package Stana.hierarchicalClustering;

public class PriceQuantityItem {
	String prodName = "";
	String salesDate = "";
	float costQuantity = 0.0f;
	float price = 0.0f;
	PriceQuantityCluster cluster = null;
	private int sequenceID =-1; // used for clustering to recognize items 
								// that are from sequences.

	
	public PriceQuantityItem(String prodName, String salesDate, float costQuantity, float price){
		this.prodName = prodName;
		this.salesDate = salesDate;
		this.costQuantity = costQuantity;
		this.price = price;
	}
	
	public PriceQuantityCluster getCluster() {
		return cluster;
	}

	public void setCluster(PriceQuantityCluster cluster) {
		this.cluster = cluster;
	}

	//------------ Pour clustering ----//
	public int getSequenceID() {
		return sequenceID;
	}

	public void setSequenceID(int sequenceID) {
		this.sequenceID = sequenceID;
	}


	public float getPrice(){
		return price;
	}

	public float getQuantity(){
		return costQuantity;
	}
	
	public String getProdName() {
		return prodName;
	}
	
	public String getSalesDate() {
		return salesDate;
	}

}
